home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / utility / mu17_ext.zip / INSTALL_ < prev    next >
Text File  |  1994-03-07  |  2KB  |  108 lines

  1. ;
  2. ; Installer-script for the installation of MuMu
  3. ;
  4. ;    $VER: Install MuMu 1.0 (06.01.94) by Litrik De Roy
  5. ;
  6.  
  7. (set @default-dest "")
  8.  
  9. (set #not_root "\n\nYou must be logged in\nas 'root' to install MuMu !")
  10. (set #bad_kick "You must be using Kickstart 2.04 (or higher) !")
  11.  
  12. (set #install-msg
  13.     (cat "\nMuMu installation script.\n\n"
  14.          "This script installs MuMu 1.0 on your Amiga.\n\n"
  15.          "Read the documentation for\n"
  16.          "information on the usage of MuMu.\n"
  17.          "\nMuMu ⌐ 1994 Litrik De Roy\n"
  18.          "All rights reserved."
  19.     )
  20. )
  21.  
  22. (set #utility-msg
  23.     (cat "    These utilities are used in the scripts "
  24.          "and are probably useful even if you're "
  25.          "going to edit the scripts.\n\n"
  26.     )
  27. )
  28.  
  29. ;=============================================================================
  30. ; make sure we are running under a 2.04 ROM
  31.  
  32. (if (< (/ (getversion) 65536) 37)
  33. (
  34.     (abort #bad_kick)
  35. ))
  36.  
  37. ;=============================================================================
  38. ; make sure we are root
  39.  
  40. (run "setenv install_user `UserInfo QUICK`")
  41. (if (NOT (= (getenv "install_user") "root"))
  42.     (
  43.         (abort #not_root)
  44.     )
  45. )
  46.  
  47. (welcome)
  48.  
  49. ;=============================================================================
  50. ; say hi
  51.  
  52. (message #install-msg)
  53.  
  54. ;=============================================================================
  55.  
  56. (run "setenv install_home $home")
  57. (set home ("%s" (getenv "install_home")))
  58.  
  59. (copyfiles
  60.     (prompt "Copying executable...")
  61.     (help @copyfiles-help)
  62.     (source "MuMu")
  63.     (dest "SYS:WBstartup")
  64.     (infos)
  65.     (confirm)
  66. )
  67.  
  68. (run "MProtect SYS:WBstartup/MuMu GROUP RWED OTHER RWED SUB")
  69. (run "MProtect SYS:WBstartup/MuMu.info GROUP RWED OTHER RWED SUB")
  70.  
  71. (complete 30)
  72.  
  73.  
  74. (copyfiles
  75.     (prompt "Copying scripts...")
  76.     (help @copyfiles-help)
  77.     (source "S")
  78.     (dest (cat home "/S"))
  79.     (all)
  80.     (confirm)
  81. )
  82.  
  83. (complete 55)
  84.  
  85. (copyfiles
  86.     (prompt "Copying utilities...")
  87.     (help (cat #utility-msg @copyfiles-help))
  88.     (source "C")
  89.     (dest "C:")
  90.     (all)
  91.     (confirm)
  92. )
  93.  
  94. (complete 75)
  95.  
  96. (copyfiles
  97.     (prompt "Copying doc...")
  98.     (help @copyfiles-help)
  99.     (source "")
  100.     (dest (cat home "/docs"))
  101.     (pattern "MuMu.guide#?")
  102.     (confirm)
  103. )
  104.  
  105. (complete 100)
  106.  
  107.